﻿using System;
using System.Collections.Generic;
using YaAppoint.Departments;
using YaAppoint.Devices;
using YaAppoint.DeviceTypes;

namespace YaAppoint.Rules
{
    public class RuleGroupDto
    {
        public Guid Id { get; set; }

        public RuleLevel Level { get; set; }

        public string Name { get; set; }

        public int Order { get; set; } = 0;

        public bool IsActive { get; set; }

        public string? Description { get; set; }

        public Guid? DepartmentId { get; set; }

        public DepartmentDto? Department { get; set; }

        public Guid? DeviceTypeId { get; set; }

        public DeviceTypeDto? DeviceType { get; set; }

        public Guid? DeviceId { get; set; }

        public DeviceDto? Device { get; set; }

        public List<RuleDto> Rules { get; set; }
    }
}
